package gorm_model

type User struct {
	Id   int    `gorm:"primarykey;column:id"`
	Name string `json:"name" form:"name" gorm:"column:name;comment:名字;type:varchar(32);"`
	Age  int    `json:"age" form:"age" gorm:"column:age;comment:状态;type:int"`
}

// TableName ResourceOss 表名
func (User) TableName() string {
	return "user"
}
